/**
 * center service list
 */

export default (isMerchant = false) => {
  // const merchant = !isMerchant ? '商家入驻' : '我的门店'
  return [
    // { image: 'refill', text: '充值', url: 'refill?' + new Date().getTime() },
    { image: 'qrcode', text: '推荐码', url: 'qr-code' },
    // { image: 'sign-in', text: '签到', url: 'sign-in' },
    // { image: 'address', text: '收货地址', url: 'address-list' },
    { image: 'team', text: '我的团队', url: 'team/0' },
    { image: 'commission', text: '我的佣金', url: 'commission/0' },
    { image: 'cash', text: '提现管理', url: 'cash/0' },
    // { image: 'message', text: '消息公告', url: '/news' },
    // { image: 'group', text: '我的拼团', url: 'group/0' },
    // { image: 'settled', text: merchant, url: '/seller/register' },
    // { image: 'fav', text: '收藏', url: 'fav' },
    // { image: 'comment', text: '我的评论', url: 'comment' },
    { image: 'password', text: '支付密码', url: 'pay-password' },
    { image: 'bank', text: '银行卡', url: 'bank' },
    // { image: 'about', text: '关于我们', url: 'about' },
    // { image: 'service', text: '联系客服', url: 'service' },
    // { image: 'question', text: '常见问题', url: '' },
    // { image: 'identity-card', text: '卡片管理', url: 'identity-card' },
    // { image: 'material', text: '素材库', url: 'material' },
    // { image: 'clear', text: '清除缓存', url: '/cache/true' },
    // { image: 'fav', text: '种草收藏', url: 'article' },
    // { image: 'logout', text: '退出登录', url: 'logout' }
    { image: 'question', text: '关注公众号', url: 'subscribe' },
    { image: 'address', text: '收货地址', url: 'address-list' },
  ]
}
